package com.nt.oam.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nt.common.annotation.Excel;
import com.nt.common.core.domain.BaseEntity;

/**
 * 项目信息对象 ant_hospital_project
 *
 * @author JZFeng
 * @date 2025-02-05
 */
@TableName(resultMap = "com.nt.oam.mapper.AntHospitalProjectMapper.AntHospitalProjectResult" )
public class AntHospitalProject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 项目表
     */
    @TableId(value = "project_id" , type = IdType.AUTO)
    private Long projectId;

    /**
     * 医院信息表id
     */
    private Long hospitalId;

    /**
     * 医院名称
     */
    @Excel(name = "医院名称" )
    private String hospitalName;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称" )
    private String projectName;

    /**
     * 医院负责人
     */
    @Excel(name = "医院负责人" )
    private String hospitalChargeName;

    /**
     * 销售名字
     */
    @Excel(name = "销售名字" )
    private String sellName;

    /**
     * 销售联系方式
     */
    private String sellPhone;

    /**
     * 交付人姓名
     */
    @Excel(name = "交付人姓名" )
    private String deliveryName;

    /**
     * 交付人联系方式
     */
    private String deliveryPhone;

    /**
     * 医院负责人电话
     */
    private String hospitalChargePhone;

    /**
     * 运维开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd" )
    @Excel(name = "运维开始时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date projectStartTime;

    /**
     * 运维结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd" )
    @Excel(name = "运维结束时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date projectEndTime;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 是否正在修改, 0-不在修改， 1-正在修改
     */
    private Integer isModify;

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setHospitalChargeName(String hospitalChargeName) {
        this.hospitalChargeName = hospitalChargeName;
    }

    public String getHospitalChargeName() {
        return hospitalChargeName;
    }

    public void setSellName(String sellName) {
        this.sellName = sellName;
    }

    public String getSellName() {
        return sellName;
    }

    public void setSellPhone(String sellPhone) {
        this.sellPhone = sellPhone;
    }

    public String getSellPhone() {
        return sellPhone;
    }

    public void setDeliveryName(String deliveryName) {
        this.deliveryName = deliveryName;
    }

    public String getDeliveryName() {
        return deliveryName;
    }

    public void setDeliveryPhone(String deliveryPhone) {
        this.deliveryPhone = deliveryPhone;
    }

    public String getDeliveryPhone() {
        return deliveryPhone;
    }

    public void setHospitalChargePhone(String hospitalChargePhone) {
        this.hospitalChargePhone = hospitalChargePhone;
    }

    public String getHospitalChargePhone() {
        return hospitalChargePhone;
    }

    public void setProjectStartTime(Date projectStartTime) {
        this.projectStartTime = projectStartTime;
    }

    public Date getProjectStartTime() {
        return projectStartTime;
    }

    public void setProjectEndTime(Date projectEndTime) {
        this.projectEndTime = projectEndTime;
    }

    public Date getProjectEndTime() {
        return projectEndTime;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsModify(Integer isModify) {
        this.isModify = isModify;
    }

    public Integer getIsModify() {
        return isModify;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("projectId" , getProjectId())
                .append("hospitalId" , getHospitalId())
                .append("hospitalName" , getHospitalName())
                .append("projectName" , getProjectName())
                .append("hospitalChargeName" , getHospitalChargeName())
                .append("sellName" , getSellName())
                .append("sellPhone" , getSellPhone())
                .append("deliveryName" , getDeliveryName())
                .append("deliveryPhone" , getDeliveryPhone())
                .append("hospitalChargePhone" , getHospitalChargePhone())
                .append("projectStartTime" , getProjectStartTime())
                .append("projectEndTime" , getProjectEndTime())
                .append("createTime" , getCreateTime())
                .append("createPerson" , getCreatePerson())
                .append("updateTime" , getUpdateTime())
                .append("updatePerson" , getUpdatePerson())
                .append("isDeleted" , getIsDeleted())
                .append("isModify" , getIsModify())
                .toString();
    }
}
